package ${filePackageName};

import ${exceptionPackage}.ValidateException;

/**
 * 实体校验接口
 *
 * @author ${projectAuthor}
 * @version 1.0
 * @date ${nowDate}
 */
public interface EntityValidation<T> {

    /**
     * 校验
     * @param t
     * @param validationType
     * @throws ValidateException
     */
    public void validate(T t, ValidationType validationType) throws ValidateException;

}
